CarAppLocation

interface CarAppLocation : MapboxNavigationObserver

Provides a way to access the car or app navigation location. Access through MapboxCarApp.carAppServices.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onAttached
Link copied to clipboard
abstract fun onAttached(mapboxNavigation: MapboxNavigation)
onDetached
Link copied to clipboard
abstract fun onDetached(mapboxNavigation: MapboxNavigation)
toString
Link copied to clipboard
open fun toString(): String
validLocation
Link copied to clipboard
abstract suspend fun validLocation(): Location?
Helper function that will suspend until a location is found, or until the coroutine scope is no longer active.

Properties

navigationLocationProvider
Link copied to clipboard
abstract val navigationLocationProvider: NavigationLocationProvider
location provider that is attached to MapboxNavigation.